package com.itheima.controller;

import com.itheima.pojo.User;
import org.javaee113.config.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @作者 itcast
 * @创建日期 2020/11/2 9:04
 **/
@RestController
public class HelloController {
    @Autowired
    Person person;
    @RequestMapping("hello")
    public String hello(){
        return "欢迎使用springboot"+person;
    }
}
